<template>
  <el-config-provider :locale="zhCn">
    <router-view></router-view>
  </el-config-provider>
</template>
<script setup lang="ts" name="App">
//@ts-ignore忽略当前文件ts类型的检测否则有红色提示(打包会失败)
import zhCn from 'element-plus/dist/locale/zh-cn.mjs' // 引入Element中文语言
const { initLayoutTheme } = useTheme()
onMounted(() => {
  initLayoutTheme()
})
</script>
<style scoped lang="scss"></style>
